<%@ page language="java" contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>

<!DOCTYPE html>
<html lang="en">
<head>
    <base href="/">
    <!-- 下拉框 -->
    <link rel="stylesheet" href="static/ace/css/chosen.css"/>

    <link href="plugins/kindeditor/themes/simple/simple.css" type="text/css" rel="stylesheet">
    <link rel="stylesheet" href="static/ace/css/datepicker.css"/>
    <link href="//cdn.bootcss.com/ionicons/2.0.1/css/ionicons.min.css" rel="stylesheet">
    <!-- jsp文件头和头部 -->
    <%@ include file="../index/top.jsp" %>
    <style>
        .disabled {
            color: #000;
            cursor: default;
        }

        .disabled:hover {
            color: #000;
            text-decoration: none;
        }
    </style>
</head>
<body class="no-skin">
<!-- /section:basics/navbar.layout -->
<div class="main-container" id="main-container">
    <!-- /section:basics/sidebar -->
    <div class="main-content">
        <div class="main-content-inner">
            <div class="page-content">
                <div class="row">
                    <div class="col-xs-12">
                        <form action="config/saveAliyunConfig.do" name="goodsForm"
                              id="goodsForm" method="post">
                            <div id="zhongxin" style="padding-top: 13px;">
                                <table id="table_report"
                                       class="table table-striped table-bordered table-hover">
                                    <tr>
                                        <td
                                                style="width: 79px; text-align: right; padding-top: 13px;">应用ID:
                                        </td>
                                        <td><input type="text" name="app_id"
                                                   id="app_id""
                                            maxlength="64" placeholder="这里输入应用ID" title="应用ID"
                                            style="width: 98%;" />
                                        </td>
                                    </tr>
                                    <tr>
                                        <td
                                                style="width: 79px; text-align: right; padding-top: 13px;">私钥:
                                        </td>
                                        <td><input type="text" name="app_private_key"
                                                   id="app_private_key"
                                                   maxlength="1000" placeholder="这里输入私钥"
                                                   title="私钥" style="width: 98%;"/></td>
                                    </tr>
                                    <tr>
                                        <td
                                                style="width: 79px; text-align: right; padding-top: 13px;">字符集:
                                        </td>
                                        <td><input type="text" name="charset"
                                                   id="charset" value=""
                                                   maxlength="16" placeholder="这里输入字符集" title="字符集"
                                                   style="width: 98%;"/></td>
                                    </tr>
                                    <tr>
                                        <td
                                                style="width: 79px; text-align: right; padding-top: 13px;">公钥:
                                        </td>
                                        <td><input type="text" name="alipay_public_key"
                                                   id="alipay_public_key"
                                                   maxlength="1000" placeholder="这里输入公钥" title="公钥"
                                                   style="width: 98%;"/></td>
                                    </tr>
                                    <tr>
                                        <td
                                                style="width: 79px; text-align: right; padding-top: 13px;">请求地址:
                                        </td>
                                        <td><input type="text" name="gateway_url"
                                                   id="gateway_url"
                                                   maxlength="128" placeholder="这里输入请求地址" title="请求地址"
                                                   style="width: 98%;"/></td>
                                    </tr>
                                    <tr>
                                        <td
                                                style="width: 79px; text-align: right; padding-top: 13px;">商户ID:
                                        </td>
                                        <td><input type="text" name="seller_id"
                                                   id="seller_id"
                                                   maxlength="64" placeholder="这里输入商户ID" title="商户ID"
                                                   style="width: 98%;"/></td>
                                    </tr>
                                    <tr>
                                        <td
                                                style="width: 79px; text-align: right; padding-top: 13px;">加密值:
                                        </td>
                                        <td><input type="text" name="encrypt_key"
                                                   id="encrypt_key"
                                                   maxlength="32" placeholder="这里输入加密值" title="加密值"
                                                   style="width: 98%;"/></td>
                                    </tr>
                                    <tr>
                                        <td
                                                style="width: 79px; text-align: right; padding-top: 13px;">加密类型:
                                        </td>
                                        <td><input type="text" name="encrypt_type"
                                                   id="encrypt_type"
                                                   maxlength="16" placeholder="这里输入加密类型" title="加密类型"
                                                   style="width: 98%;"/></td>
                                    </tr>
                                    <tr>
                                        <td
                                                style="width: 79px; text-align: right; padding-top: 13px;">跳转地址:
                                        </td>
                                        <td><input type="text" name="return_url"
                                                   id="return_url"
                                                   maxlength="64" placeholder="这里输入跳转地址" title="跳转地址"
                                                   style="width: 98%;"/></td>
                                    </tr>
                                    <tr>
                                        <td
                                                style="width: 79px; text-align: right; padding-top: 13px;">回调地址:
                                        </td>
                                        <td><input type="text" name="notify_url"
                                                   id="notify_url"
                                                   maxlength="64" placeholder="这里输入回调地址" title="回调地址"
                                                   style="width: 98%;"/></td>
                                    </tr>
                                    <tr>
                                        <td
                                                style="width: 79px; text-align: right; padding-top: 13px;">超时时间:
                                        </td>
                                        <td><input type="text" name="time_out_express"
                                                   id="time_out_express"
                                                   maxlength="16" placeholder="这里输入超时时间" title="超时时间"
                                                   style="width: 98%;"/></td>
                                    </tr>
                                    </tr>
                                    <tr>
                                        <td
                                                style="width: 30px; text-align: right; padding-top: 13px;">支付金额:
                                        </td>
                                        <td><select
                                                class="dib"
                                                name="pay_value" id="pay_value"
                                                data-placeholder="支付金额"
                                                style="vertical-align: top;width: 98%;">
                                            <option value="01">正常</option>
                                            <option value="00">1分钱</option>
                                        </select></td>
                                    </tr>
                                </table>
                                <table id="table_report1"
                                       class="table table-striped table-bordered table-hover">
                                    <tr>
                                        <td style="text-align: center;" colspan="10">
                                            <a class="btn btn-mini btn-primary"
                                               onclick="save();">保存</a>
                                            <a class="btn btn-mini btn-danger"
                                               onclick="top.Dialog.close();">取消</a>
                                        </td>
                                    </tr>
                                </table>
                            </div>
                            <div id="zhongxin2" class="center" style="display: none">
                                <br/> <br/> <br/> <br/> <img
                                    src="static/images/jiazai.gif"/><br/>
                                <h4 class="lighter block green"></h4>
                            </div>
                        </form>
                    </div>
                    <!-- /.col -->
                </div>
                <!-- /.row -->
            </div>
            <!-- /.page-content -->
        </div>
    </div>
    <!-- /.main-content -->
</div>


<!-- /.main-container -->
<!-- basic scripts -->
<!-- 页面底部js¨ -->
<%@ include file="../index/foot.jsp" %>
<!-- ace scripts -->
<script src="static/ace/js/ace/ace.js"></script>
<!-- inline scripts related to this page -->
<!-- 下拉框 -->
<script src="static/ace/js/chosen.jquery.js"></script>
<!--提示框-->
<script type="text/javascript" src="static/js/jquery.tips.js"></script>
<script type="text/javascript" src="static/js/common/file_upload.js"></script>
<script type="text/javascript" src="plugins/kindeditor/kindeditor-all.js"></script>
<script type="text/javascript" src="plugins/kindeditor/lang/zh_CN.js"></script>
<script type="text/javascript" src="static/laydate/laydate.js"></script>
<script type="text/javascript" src="static/js/provincial.municipal.league.js"></script>
</body>
<script type="text/javascript">
    $(top.hangge());

    function save() {
        $("#goodsForm").submit();
        $("#zhongxin").hide();
        $("#zhongxin2").show();
    }

</script>
</html>